from django.contrib import admin
from ourcity.core import models

class ProfileAdmin(admin.ModelAdmin):
    pass
admin.site.register(models.Profile, ProfileAdmin)


class FeaturedContentAdmin(admin.ModelAdmin):
    list_display = ('headline', 'active', 'link', 'order')
    list_editable = ('active', 'order')
    list_filter = ('active',)
admin.site.register(models.FeaturedContent, FeaturedContentAdmin)


class FeaturedCommentAdmin(admin.ModelAdmin):
    list_display = ('comment', 'active')
    list_editable = ('active',)
    list_filter = ('active',)
admin.site.register(models.FeaturedComment, FeaturedCommentAdmin)


class FeaturedIssueAdmin(admin.ModelAdmin):
    list_display = ('issue', 'active')
    list_editable = ('active',)
    list_filter = ('active',)
admin.site.register(models.FeaturedIssue, FeaturedIssueAdmin)
